﻿namespace FluentResourceMapping.Tests.TestDummies
{
    public class TestClassMap : TypeResourceMap<TestClass>
    {
        public TestClassMap()
        {
            Map(o => o.Name, typeof (TestResource), "NameRes");

            WithResourceType(typeof (TestResource))
                .Map(o => o.Age, "AgeRes");

            Map(o => o.LastName, () => TestResource.LastNameResource);
        }
    }
}